﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    //市表
    public class Shi
    {
        private int id;//市表id
        private string shiName;//市名
        private int shiMoney;//市运费
        private int shenId;//市表
        public Shi() { }
        public Shi(string shiName, int shiMoney, int shenId)
        {
            this.shiName = shiName;
            this.shiMoney = shiMoney;
            this.shenId = shenId;
        }

        public Shi(int id, string shiName, int shiMoney, int shenId)
        {
            this.id = id;
            this.shiName = shiName;
            this.shiMoney = shiMoney;
            this.shenId = shenId;
        }

        public int Id { get => id; set => id = value; }
        public string ShiName { get => shiName; set => shiName = value; }
        public int ShiMoney { get => shiMoney; set => shiMoney = value; }
        public int ShenId { get => shenId; set => shenId = value; }
    }
}
